package com.knowledge.serve.service;

import com.knowledge.model.pojo.Member;

import java.util.ArrayList;

public interface MemberService {

    /**
     * @desc 创建用户
     * @param member
     */
    void createUser(Member member);

    //通过用户名和密码获取账号的基本信息对象
    Member getUserByAccount(String username);


    Member getUserById(Integer id);

    void updateInfo(Member member);

    ArrayList<Member> getMemberList();
}
